UCF STIG Viewer Logo

The vCenter UI service must be configured to use a specified IP address and port.


Overview

Finding ID Version Rule ID IA Controls Severity
V-259111 VCUI-80-000037 SV-259111r935237_rule Medium
Description
The server must be configured to listen on a specified IP address and port. Without specifying an IP address and port for server to use, the server will listen on all IP addresses available. Accessing the hosted application through an IP address normally used for nonapplication functions opens the possibility of user access to resources, utilities, files, ports, and protocols that are protected on the desired application IP address.
STIG Date
VMware vSphere 8.0 vCenter Appliance User Interface (UI) Security Technical Implementation Guide 2023-10-29

Details

Check Text ( C-62851r935235_chk )
At the command prompt, run the following command:

# xmllint --xpath "//Connector[(@port = '0') or not(@address)]" /usr/lib/vmware-vsphere-ui/server/conf/server.xml

Expected result:

XPath set is empty

If any connectors are returned, this is a finding.
Fix Text (F-62760r935236_fix)
Navigate to and open:

/usr/lib/vmware-vsphere-ui/server/conf/server.xml

Navigate to the node and configure the port and address as follows.

port="${http.port}"
address="localhost"

Restart the service with the following command:

# vmon-cli --restart vsphere-ui